- 
                Notifications
    You must be signed in to change notification settings 
- Fork 187
          nidaqmx: Migrate pyproject.toml to Poetry 2.x format
          #835
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | metadata 1.2.0 vs. this PR. Most of the changes are unrelated to this PR. --- C:\Users\bkeryan\AppData\Local\Temp\metadata1.txt	2025-09-16 18:30:03.000000000 -0500
+++ C:\Users\bkeryan\AppData\Local\Temp\metadata2.txt	2025-09-16 18:33:21.000000000 -0500
@@ -1,9 +1,9 @@
 Metadata-Version: 2.3
 Name: nidaqmx
-Version: 1.2.0
+Version: 1.3.0.dev0
 Summary: NI-DAQmx Python API
 License: MIT
 Keywords: nidaqmx,nidaq,daqmx,daq
 Author: NI
 Author-email: [email protected]
 Maintainer: Zach Hindes
@@ -23,24 +23,24 @@
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: System :: Hardware :: Hardware Drivers
 Provides-Extra: grpc
-Requires-Dist: click (>=8.0.0) ; python_version >= "3.10" and python_version < "4.0"
-Requires-Dist: click (>=8.0.0,<8.2.0) ; python_version == "3.9"
+Requires-Dist: click (>=8.0.0)
 Requires-Dist: deprecation (>=2.1)
 Requires-Dist: distro (>=1.9.0) ; sys_platform == "linux"
 Requires-Dist: grpcio (>=1.49.0,<2.0) ; extra == "grpc"
 Requires-Dist: hightime (>=0.2.2)
-Requires-Dist: numpy (>=1.22) ; python_version >= "3.9" and python_version < "3.12"
-Requires-Dist: numpy (>=1.26) ; python_version == "3.12"
+Requires-Dist: nitypes (>=0.1.0dev10)
+Requires-Dist: numpy (>=1.22) ; python_version >= "3.9" and python_version < "3.13"
 Requires-Dist: numpy (>=2.1) ; python_version >= "3.13" and python_version < "4.0"
 Requires-Dist: protobuf (>=4.21) ; extra == "grpc"
 Requires-Dist: python-decouple (>=3.8)
 Requires-Dist: requests (>=2.25.0)
+Requires-Dist: typing_extensions (>=4.0.0)
 Requires-Dist: tzlocal (>=5.0,<6.0)
 Project-URL: Documentation, https://nidaqmx-python.readthedocs.io
 Project-URL: Repository, https://github.com/ni/nidaqmx-python
 Description-Content-Type: text/x-rst
 
 +------------+-----------------------------------------------------------+
@@ -97,13 +97,16 @@
 for which versions of the driver support your hardware on a given operating
 system.
 
 Python Version Support
 ----------------------
 
-**nidaqmx** supports CPython 3.9+ and PyPy3.
+**nidaqmx** supports CPython 3.9+.
+
+**nidaqmx** supports PyPy3 for non-gRPC use cases. For the status of PyPy support for gRPC,
+see `PyPy support (grpc/grpc#4221) <https://github.com/grpc/grpc/issues/4221>`_.
 
 Installation
 ============
 
 You can use `pip <http://pypi.python.org/pypi/pip>`_ to download **nidaqmx** from
 `PyPI <https://pypi.org/project/nidaqmx/>`_ and install it:: | 
              
                    bkeryan
  
              
              commented
              
                  
                    Sep 17, 2025 
                  
              
              
            
            
              
                    zhindes
  
              
              approved these changes
              
                  
                    Sep 17, 2025 
                  
              
              
            
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
I've added tests applicable for this pull requestWhat does this Pull Request accomplish?
Migrate
pyproject.tomlto Poetry 2.x format, using https://pypi.org/project/poetry-plugin-migrate/ and instructions from https://dev.azure.com/ni/DevCentral/_wiki/wikis/AppCentral.wiki/144493/How-to-Migrate-from-Poetry-1.x-to-Poetry-2.x (NI internal link)Update Sphinx versioning to cover all Python versions.
Update ReadTheDocs config to use Poetry 2.1.4.
Add
tool.ni-python-styleguide.application-import-namesto fix import sorting. This is a workaround for ni/python-styleguide#233Update
docs/conf.pyto use the newpyproject.tomlformat.Why should this Pull Request be merged?
Resolve warnings about deprecated syntax.
What testing has been done?
poetry buildand diffed package metadata.